import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 获取所有备件订单设置信息
export const getList = params => axios.get(`${SERVER.CMSCLOUD_WMS}/part/orderSetting`, { params });
//自动审单编辑
export const autoAuditOrderSwitchFuc = params => axios.get(`${SERVER.CMSCLOUD_WMS}/part/orderSetting/autoAuditOrderSwitchFuc1/`, {params});


// 获取配件信息(根据分类)
export const getSortList = params => axios.get(`${SERVER.CMSCLOUD_WMS}/part/orderSetting/getSortList`, { params });

